<?php
session_start();
$key=$_COOKIE['taken'];
if(empty($_SESSION[$key])){
    echo '未登录，请登录<br/><a href="../admin/admin_login.php">登陆</a>';
    die();
}
?>
<!<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>开户</title>
</head>
<body>
    <h3>开户</h3>
    <form  method="post" action="openaccount_action.php">
        <table>
           <tr>
               <td>姓名:</td>
               <td><input type="text" name="user_name" placeholder="请输入姓名"></td>
           </tr>
            <tr>
                <td>身份证号:</td>
                <td><input type="text" name="Account_Code" placeholder="请输入身份证号"></td>
            </tr>
            <tr>
                <td>手机号:</td>
                <td><input type="text" name="Account_phone" placeholder="请输入手机号"></td>
            </tr>
        </table>
        <input type="submit">
    </form>
</body>
</html>
